<%-- 
    Document   : AnotherMarkingforAssignment
    Created on : 7/05/2008, 16:00:40
    Author     : DidierLeung
--%>

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<c:set var="title" value="Mark Assignment Form" scope="page"/>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>${title}</title>
    </head>
    <body>
        <h1>${title}</h1>
        <f:view>
            <!-- Show error messages -->
            <!--h:messages showSummary="true" showDetail="false"
                        style="color: red;
                        font-family: 'New Century Schoolbook', serif;
                        font-style: oblique"
                        id="errors"/-->
            <h:form id="markAssignmentForm">
                <table>
                    <tr>
                        <td colspan="2">
                            <h3>
                            <h:outputLabel id="questionLbl" value="Do you want to mark another student submission for assignment 
                                    #{MarkAssignmentBean.filterAssignment} - #{MarkAssignmentBean.assignmentName}?" />
                            </h3>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <h:commandButton id="yesBtn" value="YES" action="#{MarkAssignmentBean.markMoreSubmission}" />
                        </td>
                        <td>
                            <h:commandButton id="noBtn" value="NO" action="no" />
                        </td>
                    </tr>
                </table>
            </h:form>
        </f:view>
    </body>
</html>

